# $Id: PKGBUILD 56963 2011-10-17 10:15:04Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
# Previous Contributor: Baptiste Daroussin <baptiste.daroussin@gmail.com>

pkgname=tnftp
pkgver=20100108
pkgrel=2
pkgdesc="NetBSD FTP client with several advanced features"
arch=('i686' 'x86_64')
url="ftp://ftp.netbsd.org/pub/NetBSD/misc/tnftp/"
license=('BSD')
depends=('ncurses' 'dante')
source=(ftp://ftp.netbsd.org/pub/NetBSD/misc/tnftp/$pkgname-$pkgver.tar.gz)
md5sums=('192aac255abd515d7d4cc9b397dc0cba')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr --enable-editcomplete
  make
  make install DESTDIR=$pkgdir
  install -Dm755 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
}
